package com.whc.common.design.handle.type;

import com.whc.common.Constant;
import com.whc.common.exception.MessageException;

import java.util.Map;

/**
 * @author wang-hai-cheng
 * @since 2022/1/2 13:31
 */
public class EndChain extends TypeChain {
    @Override
    public Object handler(Map<String,Object> body) {
        throw MessageException.instance(Constant.Message.OP_TYPE_NOT_FOUND);
    }
}